Comparing Self-Stabilizing Dining Philosophers through Simulation
نویسندگان
چکیده
We evaluate the performance of five of the most well-known selfstabilizing dining philosophers algorithms in a read/write atomicity model. The algorithms are evaluated under interleaving, power-set and synchronous execution semantics. For all algorithms, we compute latency and throughput of critical section access, as well as the number of safety violations. These metrics are computed under various load and fault scenarios. On the basis of the evaluation, we propose a combined algorithm that switches between different algorithms to achieve optimal performance.
منابع مشابه
Wait-Free Stabilizing Dining Using Regular Registers
Dining philosophers is a scheduling paradigm that determines when processes in a distributed system should execute certain sections of their code so that processes do not execute ‘conflicting’ code sections concurrently, for some application-dependent notion of a ‘conflict’. Designing a stabilizing dining algorithm for shared-memory systems subject to process crashes presents an interesting cha...
متن کاملStabilizing Dining with Failure Locality 1
The dining philosophers problem, or simply dining, is a fundamental distributed resource allocation problem. In large scale and longlived systems, the likelihood of some process failing at some point is high, thus sparking interest in fault-tolerant versions of dining. We propose two algorithms for solving stabilizing dining with failure locality 1 in asynchronous shared-memory systems with reg...
متن کاملThe Weakest Failure Detector for Solving Wait-Free, Eventually Bounded-Fair Dining Philosophers
The Weakest Failure Detector for Solving Wait-Free, Eventually Bounded-Fair Dining Philosophers. (December 2008) Yantao Song, B.S., Beijing Institute of Technology; M.S., Chinese Academy of Sciences Chair of Advisory Committee: Dr. Scott M. Pike This dissertation explores the necessary and sufficient conditions to solve a variant of the dining philosophers problem. This dining variant is define...
متن کاملWait-Free Dining Under Eventual Weak Exclusion
We present a wait-free solution to the generalized dining philosophers problem under eventual weak exclusion in environments subject to crash faults. Wait-free dining guarantees that every correct hungry process eventually eats, regardless of process crashes. Eventual weak exclusion (3WX ) actually allows scheduling mistakes, whereby mutual exclusion may be violated finitely-many times; for eac...
متن کاملStabilization-Preserving Atomicity Refinement
Program refinements from an abstract to a concrete model empower designers to reason effectively in the abstract and architects to implement effectively in the concrete. For refinements to be useful, they must not only preserve functionality properties but also dependability properties. In this paper, we focus our attention on refinements that preserve the dependability property of stabilizatio...
متن کامل